﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login"
    MasterPageFile="~/Mobile.master" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
    <link rel="stylesheet" type="text/css" href="css/popup_login.css" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <form id="Form1" runat="server">
    <section>
        <header id="header">
            <nav id="nav">
                <a href="default.aspx">
                    <div class="branding">
                    </div>
                </a>
                <div class="nav">
                    <%--<uc1:usrLanguage runat="server" ID="hplLanguage" />--%>
                    <a href="default.aspx">
                        <asp:Image ID="imgTop" runat="server" ImageUrl="<%$Resources:CarInsurance,TopNavBack%>"
                            Width="49" Height="29" AlternateText="Start" BorderWidth="0" /></a></div>
            </nav>
        </header>
    </section>
    <section id="body">
        <div class="body">
                <div class="form">
                    <asp:Image ID="imgHeader" runat="server" ImageUrl="<%$Resources:CarInsurance,SignInHeader%>" Height="37px" Width="270px" BorderWidth="0" />
                    <div>
                        <asp:Label ID="lblAccountMessage" runat="server"></asp:Label>
                    </div>
                    <div>
                        <asp:ValidationSummary ID="ValidationSummary2" runat="server" ValidationGroup="userpassword"
                            ShowSummary="True" CssClass="errorSummary" HeaderText="<%$Resources:CarInsurance,RequiredField %>">
                        </asp:ValidationSummary>
                    </div>
                    <br />
                    <div class="f_row" style="padding-left:10px">
                        <span class="form_l email_ico"><%= GetGlobalResourceObject("CarInsurance", "EmailAddress")%></span>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="f_row">
                            <html5:emailinput ID="txtExEmail" runat="server" CssClass="input" Width="210px"></html5:emailinput>
                            <asp:RequiredFieldValidator ID="rfvExEmail" CssClass="validationErrorControl" runat="server"
                                ValidationGroup="userpassword" ErrorMessage="" Text="" ControlToValidate="txtExEmail"
                                Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator CssClass="validationErrorControl" ID="rfvExEmailValid"
                                runat="server" ValidationGroup="userpassword" ErrorMessage="" Text="" ControlToValidate="txtExEmail"
                                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="f_row" style="padding-left:10px">
                        <span class="form_l name_ico"><%= GetGlobalResourceObject("CarInsurance", "Password")%></span>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="f_row">
                        <asp:TextBox ID="txtExAuthCode" runat="server" TextMode="Password" CssClass="input"
                            Width="210px" />
                        <asp:RequiredFieldValidator ID="rfvExAuthCode" CssClass="validationErrorControl"
                            runat="server" ValidationGroup="userpassword" ErrorMessage="" Text="" ControlToValidate="txtExAuthCode"
                            Display="Dynamic"></asp:RequiredFieldValidator>
                        <asp:Label runat="server" ID="lblEmailMessage" Visible="false" CssClass="validationError"></asp:Label>
                        <div class="clear">
                        </div>
                    </div>
                    <div id="div1" style="display: none">
                        <table style="width: 100%;">
                            <tr>
                                <td align="center" valign="middle">
                                    <img src="/images/loader/loader_main.gif" id="img1" alt="Loading" width="30" height="20" />
                                    <span id="Span1">Please wait...</span>
                                </td>
                            </tr>
                            <tr align="right">
                                <td>
                                    <a id="A2" href="javascript:StopSubmit();">Cancel</a>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="f_row">
                        &nbsp;</div>
                    <div class="f_row">
                        <asp:Label ID="Label2" Text="" Font-Size="12px" ForeColor="Green" Font-Bold="true"
                            Font-Names="Arial" runat="server"></asp:Label>
                    </div>
                    <div class="f_row sr_button">
                        <asp:Button ID="imgbtnLogin" runat="server"
                            CssClass="button_proceed" OnClientClick="LoadValidationErrorCss();if (Page_ClientValidate('userpassword')){this.removeAttribute('onmouseout');this.removeAttribute('onmouseup');this.className = 'button_processing';}"
                            ValidationGroup="userpassword" AlternateText="Sign in" ToolTip="Sign in" OnClick="imgbtnLogin_Click" /><div
                                style="display: none;">
                                <input id="inputLoginCount" runat="server" value="0" />
                                <input id="inputHideSignal" runat="server" value="0" /><input id="inputLoginHide"
                                    runat="server" value="0" /></div>
                    </div>
                    <br />
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="passwordrecovery.aspx"><%= GetGlobalResourceObject("CarInsurance", "ForgotPassword")%></asp:HyperLink>
                    <br /><br />
                    <section class="note">
<asp:Label ID="Label3" runat="server" Text="<%$ Resources:CarInsurance,ReadAbout%>" /><br /><asp:HyperLink ID="hlnkAboutUs" runat="server" NavigateUrl="<%$ Resources:CarInsurance,AboutGGUrl%>" Text="<%$ Resources:CarInsurance,AboutGG%>"></asp:HyperLink>
</section>
                <div class="bottom"></div>
                </div>
                
            <%--<div style="text-align: right; width: 100%;">
                                            <asp:Button ID="btnPasswordClose" runat="server" Text=""
                                                Width="87px" OnClick="btnPasswordClose_Click" OnClientClick="HidePopup();ShowHidePasswordPanel(true);" CssClass="button_close" />
                                        </div>--%>
        </div>
        
    </section>
    </form>

    <script type="text/javascript">
    <!--
        function RemoveSpace(c) {
            c.value = c.value.split(' ').join('')
        }
    //-->
    </script>

</asp:Content>
